#ifndef ALTERNATEDCONSTRAINT_H_
#define ALTERNATEDCONSTRAINT_H_

#include "constraint.h"
#include <boost/shared_ptr.hpp>

class AlternatedConstraint : public Constraint {
public:
	AlternatedConstraint(Constraint *, Constraint *);
	virtual ~AlternatedConstraint();

	bool consider(const Schedule&);

private:
	boost::shared_ptr<Constraint> lconstraint_;
	boost::shared_ptr<Constraint> rconstraint_;
};

#endif
